<%@ page pageEncoding="utf-8" session="false" contentType="text/html; charset=utf-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>我的笔记</title>
<meta name="keywords" content="test"/>
<meta name="description" content="test"/>
<meta name="robots" content="all"/>
<meta name="googlebot" content="all"/>
<meta name="baiduspider" content="all"/>
<meta name="copyright" content="All Rights Reserved 版权所有"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<link rel="stylesheet" type="text/css" href="${contextPath}/resource/note/css/note.css"/>
<link rel="stylesheet" type="text/css" href="${contextPath}/resource/note/theme/word.css"/>
<link rel="stylesheet" type="text/css" href="${contextPath}/resource/note/css/pagebar.css"/>
<script type="text/javascript" src="${contextPath}/resource/user/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="${contextPath}/resource/user/user.js"></script>
<script type="text/javascript" src="${contextPath}/resource/note/note.js"></script>
<script type="text/javascript" src="${contextPath}/resource/note/images.js"></script>
<script type="text/javascript" src="${contextPath}/resource/note/scrollpage.js"></script>
</head>
<body style="overflow: auto;">
<div class="wrap">
    <div class="nav-bar">
        <a href="/note/index.html">我的笔记</a>
        <c:if test="${util.notEmpty(category)}">
        <em></em><a class="text" href="javascript:void(0)">${category.name}</a>
        </c:if>
    </div>
</div>
<div class="wrap">
    <div class="je-dir">
        <div><h4>${category.name}</h4></div>
        <c:forEach items="${categoryBeanList}" var="categoryBean">
        <c:set var="category" value="${categoryBean.category}"/>
        <div class="je-dir-body">
            <div class="je-x1">
                <a href="${contextPath}/note/category.html?categoryId=${category.parentId}">${category.name}</a>
                <a class="je-edit je-create" href="javascript:void(0)" categoryId="${category.categoryId}">创建词条</a>
            </div>
            <div class="je-x2">
                <ul>
                    <c:forEach items="${categoryBean.childCategoryList}" var="childCategory">
                    <li><a href="${contextPath}/note/category.html?categoryId=${childCategory.categoryId}">${childCategory.name}</a></li>
                    </c:forEach>
                    <c:forEach items="${categoryBean.archiveList}" var="archive">
                    <li><a href="${contextPath}/note/archive/display.html?archiveId=${archive.archiveId}">${archive.title}</a></li>
                    </c:forEach>
                </ul>
            </div>
        </div>
        </c:forEach>
    </div>
</div>
<div class="h30"></div>
<div class="scrolltop" onclick="window.scrollTo(0, 0)"></div>
</body>
</html>
